/**
 * Project Name:javaBaseReview
 * Package Name:com.xuwei.ext.refactor.day01
 * author:David
 * Date:2016年3月20日上午9:52:32
 * Copyright (c) 2016, xw123box@126.com All Rights Reserved.
 *
 */
package com.xuwei.ext.refactor.day01;

/**
 * @author David
 * @since 2016年3月20日 上午9:52:32
 * @version 
 * @since JDK 1.6
 */
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Customer customer = new Customer("David");
		Movie movie1 = new Movie("test1", Movie.NEW_RELEASE);
//		Rental rental1 = new Rental(movie1, 2);
		Rental rental2 = new Rental(movie1, 5);
//		customer.addRental(rental1);
		customer.addRental(rental2);
		System.out.println(customer.statement());
		
		
		
	}

}
